import {defineStore} from "pinia";
import {ref} from "vue";

export const useEmploymentStore = defineStore("employmentStore", () => {
//    设置考勤管理的弹框状态控制
    const employmentStoreDialogVisible = ref(false);
    function toggleEmploymentStoreDialogVisible() {
        employmentStoreDialogVisible.value = !employmentStoreDialogVisible.value;
    }

    return {
        employmentStoreDialogVisible,
        toggleEmploymentStoreDialogVisible,

    }
})
